<?xml version="1.0" encoding="ISO-8859-1"?>
<StyledLayerDescriptor version="1.0.0"
             xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd"
             xmlns="http://www.opengis.net/sld"
             xmlns:ogc="http://www.opengis.net/ogc"
             xmlns:xlink="http://www.w3.org/1999/xlink"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<NamedLayer>
  <Name>Bike</Name>

  <UserStyle>
    <Name>Bike</Name>
    <Title>Bike</Title>
    <Abstract>Colors the regional bike routes</Abstract>
    <FeatureTypeStyle>

  <!-- select distinct mode from prod.bike_route order by 1 -->
  <!-- 1 -->
  <Rule>
    <Name>Bike boulevard</Name>
    <Title>Bike boulevard</Title>
    <Abstract>A lime-green line</Abstract>
    <ogc:Filter>
      <ogc:Or>
        <ogc:PropertyIsEqualTo>
          <ogc:PropertyName>mode</ogc:PropertyName>
          <ogc:Literal>Bike boulevard</ogc:Literal>
        </ogc:PropertyIsEqualTo>
        <ogc:PropertyIsEqualTo>
          <ogc:PropertyName>mode</ogc:PropertyName>
          <ogc:Literal>Bike boulevard</ogc:Literal>
        </ogc:PropertyIsEqualTo>
      </ogc:Or>
    </ogc:Filter>
    <LineSymbolizer>
      <Stroke>
        <CssParameter name="stroke">#00FF00</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
      </Stroke>
    </LineSymbolizer>
    <TextSymbolizer></TextSymbolizer>
  </Rule>

  <!-- 2 -->
  <Rule>
    <Name>Bike lane</Name>
    <Title>Bike lane</Title>
    <Abstract>A blue line</Abstract>
    <ogc:Filter>
        <ogc:PropertyIsEqualTo>
          <ogc:PropertyName>mode</ogc:PropertyName>
          <ogc:Literal>Bike lane</ogc:Literal>
        </ogc:PropertyIsEqualTo>
    </ogc:Filter>
    <LineSymbolizer>
      <Stroke>
        <CssParameter name="stroke">#005CE6</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
      </Stroke>
    </LineSymbolizer>
    <TextSymbolizer></TextSymbolizer>
  </Rule>

  <!-- 3 -->
  <Rule>
    <Name>Caution area</Name>
    <Title>Caution area</Title>
    <Abstract>A red line</Abstract>
    <ogc:Filter>
        <ogc:PropertyIsEqualTo>
          <ogc:PropertyName>mode</ogc:PropertyName>
          <ogc:Literal>Caution area</ogc:Literal>
        </ogc:PropertyIsEqualTo>
    </ogc:Filter>
    <LineSymbolizer>
      <Stroke>
        <CssParameter name="stroke">#E60000</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
      </Stroke>
    </LineSymbolizer>
    <TextSymbolizer></TextSymbolizer>
  </Rule>

  <!-- 4 -->
  <Rule>
    <Name>High traffic through street</Name>
    <Title>High traffic through street</Title>
    <Abstract>An orange line</Abstract>
    <ogc:Filter>
        <ogc:PropertyIsEqualTo>
          <ogc:PropertyName>mode</ogc:PropertyName>
          <ogc:Literal>High traffic through street</ogc:Literal>
        </ogc:PropertyIsEqualTo>
    </ogc:Filter>
    <LineSymbolizer>
      <Stroke>
        <CssParameter name="stroke">#FFAA00</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
      </Stroke>
    </LineSymbolizer>
    <TextSymbolizer></TextSymbolizer>
  </Rule>

  <!-- 5 -->
  <Rule>
    <Name>Local multi-use path</Name>
    <Title>Local multi-use path</Title>
    <Abstract>A purple line</Abstract>
    <ogc:Filter>
        <ogc:PropertyIsEqualTo>
          <ogc:PropertyName>mode</ogc:PropertyName>
          <ogc:Literal>Local multi-use path</ogc:Literal>
        </ogc:PropertyIsEqualTo>
    </ogc:Filter>
    <LineSymbolizer>
      <Stroke>
        <CssParameter name="stroke">#C500FF</CssParameter>
        <CssParameter name="stroke-width">1</CssParameter>
      </Stroke>
    </LineSymbolizer>
    <TextSymbolizer></TextSymbolizer>
  </Rule>

  <!-- 6 -->
  <Rule>
    <Name>Low traffic through street</Name>
    <Title>Low traffic through street</Title>
    <Abstract>A green line</Abstract>
    <ogc:Filter>
        <ogc:PropertyIsEqualTo>
          <ogc:PropertyName>mode</ogc:PropertyName>
          <ogc:Literal>Low traffic through street</ogc:Literal>
        </ogc:PropertyIsEqualTo>
    </ogc:Filter>
    <LineSymbolizer>
      <Stroke>
        <CssParameter name="stroke">#267300</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
      </Stroke>
    </LineSymbolizer>
    <TextSymbolizer></TextSymbolizer>
  </Rule>

  <!-- 7 -->
  <Rule>
    <Name>Moderate traffic through street</Name>
    <Title>Moderate traffic through street</Title>
    <Abstract>A yellow line</Abstract>
    <ogc:Filter>
        <ogc:PropertyIsEqualTo>
          <ogc:PropertyName>mode</ogc:PropertyName>
          <ogc:Literal>Moderate traffic through street</ogc:Literal>
        </ogc:PropertyIsEqualTo>
    </ogc:Filter>
    <LineSymbolizer>
      <Stroke>
        <CssParameter name="stroke">#FFFF00</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
      </Stroke>
    </LineSymbolizer>
    <TextSymbolizer></TextSymbolizer>
  </Rule>

  <!-- 8 -->
  <Rule>
    <Name>Planned bike lane</Name>
    <Title>Planned bike lane</Title>
    <Abstract>A dashed blue line</Abstract>
    <ogc:Filter>
        <ogc:PropertyIsEqualTo>
          <ogc:PropertyName>mode</ogc:PropertyName>
          <ogc:Literal>Planned bike lane</ogc:Literal>
        </ogc:PropertyIsEqualTo>
    </ogc:Filter>
    <LineSymbolizer>
      <Stroke>
        <CssParameter name="stroke">#005CE6</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
        <CssParameter name="stroke-dasharray">5.0 5.0</CssParameter>
      </Stroke>
    </LineSymbolizer>
    <TextSymbolizer></TextSymbolizer>
  </Rule>

  <!-- 9 -->
  <Rule>
    <Name>Planned multi-use path</Name>
    <Title>Planned multi-use path</Title>
    <Abstract>A dashed purple line</Abstract>
    <ogc:Filter>
        <ogc:PropertyIsEqualTo>
          <ogc:PropertyName>mode</ogc:PropertyName>
          <ogc:Literal>Planned multi-use path</ogc:Literal>
        </ogc:PropertyIsEqualTo>
    </ogc:Filter>
    <LineSymbolizer>
      <Stroke>
        <CssParameter name="stroke">#C500FF</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
        <CssParameter name="stroke-dasharray">5.0 5.0</CssParameter>
      </Stroke>
    </LineSymbolizer>
    <TextSymbolizer></TextSymbolizer>
  </Rule>

  <!-- 10 -->
  <Rule>
    <Name>Regional multi-use path</Name>
    <Title>Regional multi-use path</Title>
    <Abstract>A purple line</Abstract>
    <ogc:Filter>
        <ogc:PropertyIsEqualTo>
          <ogc:PropertyName>mode</ogc:PropertyName>
          <ogc:Literal>Regional multi-use path</ogc:Literal>
        </ogc:PropertyIsEqualTo>
    </ogc:Filter>
    <LineSymbolizer>
      <Stroke>
        <CssParameter name="stroke">#C500FF</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
      </Stroke>
    </LineSymbolizer>
    <TextSymbolizer></TextSymbolizer>
  </Rule>

  </FeatureTypeStyle>
  </UserStyle>
</NamedLayer>
</StyledLayerDescriptor>
